package com.fzdy.product.service;

import com.fzdy.product.base.vo.FrontPage;
import com.fzdy.product.controller.api.CopyProcessApi;
import com.fzdy.product.controller.api.OrderApi;
import com.fzdy.product.entity.Order;
import org.springframework.data.domain.Page;

public interface OrderService {

    Page getOrdersByPage(FrontPage<OrderApi> page);
    boolean checkSnRange(OrderApi api);
    boolean insertOrder(OrderApi api);

    Order getOrderByOrderId(String orderId);

    void updateNum(Order order);

    void copyProcess(CopyProcessApi api);
}
